//
//  SDKVERSION.h
//  YJDSDK
//
//  Created by skyline on 2018/4/4.
//  Copyright © 2018年 skyline. All rights reserved.
//
#import "YJDPlatform.h"
#ifndef SDKVERSION_h
#define SDKVERSION_h
#define MISS(A) [A stringByReplacingOccurrencesOfString:@"." withString:@""]
#define VERSION_1_0_9 [[YJDPlatform platform].currentVersion isEqualToString:@"1.0.9"]
#define VERSION_1_1_0 [[YJDPlatform platform].currentVersion isEqualToString:@"1.1.0"]
#define VERSION_1_1_1 [[YJDPlatform platform].currentVersion isEqualToString:@"1.1.1"]
#define VERSION_1_1_2 [[YJDPlatform platform].currentVersion isEqualToString:@"1.1.2"]
#define VERSION_1_1_3 [[YJDPlatform platform].currentVersion isEqualToString:@"1.1.3"]
#define VERSION_1_1_4 [[YJDPlatform platform].currentVersion isEqualToString:@"1.1.4"]
#define VERSION_1_1_5 [[YJDPlatform platform].currentVersion isEqualToString:@"1.1.5"]
#define VERSION_1_1_6 [[YJDPlatform platform].currentVersion isEqualToString:@"1.1.6"]
#define VERSION_1_1_7 [[YJDPlatform platform].currentVersion isEqualToString:@"1.1.7"]
#define VERSION_1_1_8 [[YJDPlatform platform].currentVersion isEqualToString:@"1.1.8"]
#define VERSION_1_1_9 [[YJDPlatform platform].currentVersion isEqualToString:@"1.1.9"]
#define VERSION_1_2_0 [[YJDPlatform platform].currentVersion isEqualToString:@"1.2.0"]
#define VERSION_1_2_1 [[YJDPlatform platform].currentVersion isEqualToString:@"1.2.1"]
#define VERSION_1_2_2 [[YJDPlatform platform].currentVersion isEqualToString:@"1.2.2"]

#define VERSION_2_0_0 [[YJDPlatform platform].currentVersion isEqualToString:@"2.0.0"]
#define VERSION_2_0_1 [[YJDPlatform platform].currentVersion isEqualToString:@"2.0.1"]
#define VERSION_2_0_2 [[YJDPlatform platform].currentVersion isEqualToString:@"2.0.2"]
#define VERSION_2_0_3 [[YJDPlatform platform].currentVersion isEqualToString:@"2.0.3"]
#define VERSION_2_0_4 [[YJDPlatform platform].currentVersion isEqualToString:@"2.0.4"]
#define VERSION_2_0_5 [[YJDPlatform platform].currentVersion isEqualToString:@"2.0.5"]
#define VERSION_2_0_6 [[YJDPlatform platform].currentVersion isEqualToString:@"2.0.6"]
#define VERSION_2_0_7 [[YJDPlatform platform].currentVersion isEqualToString:@"2.0.7"]
#define VERSION_2_0_8 [[YJDPlatform platform].currentVersion isEqualToString:@"2.0.8"]
#define VERSION_2_0_9 [[YJDPlatform platform].currentVersion isEqualToString:@"2.0.9"]


#define VERSION_1_0_9_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 109)
#define VERSION_1_1_0_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 110)
#define VERSION_1_1_1_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 111)
#define VERSION_1_1_2_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 112)
#define VERSION_1_1_3_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 113)
#define VERSION_1_1_4_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 114)
#define VERSION_1_1_5_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 115)
#define VERSION_1_1_6_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 116)
#define VERSION_1_1_7_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 117)
#define VERSION_1_1_8_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 118)
#define VERSION_1_1_9_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 119)
#define VERSION_1_2_0_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 120)
#define VERSION_1_2_1_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 121)
#define VERSION_1_2_2_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 122)
#define VERSION_1_2_3_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 123)
#define VERSION_2_0_0_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 200)
#define VERSION_2_0_1_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 201)
#define VERSION_2_0_2_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 202)
#define VERSION_2_0_3_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 203)
#define VERSION_2_0_4_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 204)
#define VERSION_2_0_5_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 205)
#define VERSION_2_0_6_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 206)
#define VERSION_2_0_7_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 207)
#define VERSION_2_0_8_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 208)
#define VERSION_2_0_9_LATER ([MISS([YJDPlatform platform].currentVersion) intValue] >= 209)

#endif /* SDKVERSION_h */
